Burning CD's

chris (2003-02-16 14:48:10)
3376 views
1 replies
I have spent some hours this weekend sorting out my CD-RW device. Here are some short notes on what I have uncovered

1) Kernel compiled to include all the following options:

* Block devices
o turn ON Loopback device support
* ATA/IDE/MFM/RLL support
o IDE, ATA and ATAPI Block devices
+ turn OFF IDE/ATAPI CDROM support
+ turn ON SCSI emulation support
* SCSI support
o turn ON SCSI support
o turn ON SCSI CDROM support
o turn ON Enable vendor specific extensions
o turn ON SCSI generic support
* File Systems
o turn ON ISO 9660 CDROM file system support
o turn ON Microsoft Joliet CDROM extensions

2) cdrecord downloaded as part of cdrtools
3) Determine what device the SCSI burner is:

root@brezhnev:~# cdrecord -scanbus
Cdrecord 1.11a24 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.6'
scsibus0:
0,0,0 0) 'LITE-ON ' 'LTR-48125S ' '1S02' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

4) script written which uses cdrecord to convert from mp3 to cdr format and pipe the new file contents to a write process:

root@brezhnev:~# cat ~/bin/mkcd
#!/bin/bash
for I in *.mp3
do
mpg123 --cdr - "$I" | cdrecord -dev=0,0,0 speed=0 -audio -pad -nofix -
done
cdrecord -fix

5) Oddly, the CD created wouldn't play, but running a second 'fix' process seemed to partially help. The CD now plays in my laptop CD player (not the same machine/device as it was burned with), but it doesn't play in the other cd players in the house.. they all report 'no disk', or fail to detect the CD... odd

comment
chris
2003-04-14 10:42:56

keeping config options

Note, that to keep the existing config options, just cd into the new source folder, and copy the old .config over eg:

433 ln -s linux-2.4.20 linux
434 cd linux
435 cp ../linux-2.4.16/.config .
436 ls
437 make menuconfig
438 make dep clean bzlilo modules modules_install
439 reboot
reply icon